<template>
  <div class="alet_container">
    <section class="tip_text_container">
      <div style="width: 100%;height:3rem;font-size: 1rem">
        <div style="position: absolute;;line-height: 3rem;">正在进行同步时间，请稍等...</div>
        <div style=" position: absolute;right: 1.5rem;"><img style="width: 3rem;display: inline" src="../page/img/loading2.gif"/></div>
      </div>
    </section>
  </div>
</template>

<script>
  export default {
    name: 'TbIngLoading',
    // props: ['alertText', 'LeftText', 'RightText'],
    data () {
      return {
        msg: 'Welcome to Your Vue.js App'
      }
    },
    methods: {
      closeTip () {
        window.hilink.finishDeviceActivity()
      }
    }
  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
  @keyframes tipMove{
    0%   { transform: scale(1) }
    35%  { transform: scale(.8) }
    70%  { transform: scale(1.1) }
    100% { transform: scale(1) }
  }
  .alet_container{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.3);
    z-index: 10000000000000000000;
  }
  .tip_text_container{
    position: absolute;
    width: 90%;
    bottom: 30px;
    left: 5%;
    border: 1px;
    animation: tipMove .4s ;
    border-radius: 0.7rem;
    display: flex;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 1rem;
    padding-left: 1rem;
    background-color: rgba(255,255,255,1);
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .tip_text{
    color: black;
    font-size: 1.1rem;
    /* font-weight: bold; */
    line-height: 1.5rem;
  }
  @media screen and (min-width: 320px) {
    .cancel{
      padding: 0.6rem 5rem;
      float: left;
      border-radius: 1rem;
      -webkit-box-shadow: 0px 0px 0px 0.2px #888888;
      box-shadow: 0px 0px 0px 0.2px #888888;
      color: rgb(1,101,204);
      font-weight: bold;
      font-size: 1.1rem;
    }
  }
  @media screen and (max-width: 320px) {
    .cancel{
      padding: 0.6rem 5rem;
      float: left;
      border-radius: 1rem;
      -webkit-box-shadow: 0px 0px 0px 0.2px #888888;
      box-shadow: 0px 0px 0px 0.2px #888888;
      color: rgb(1,101,204);
      font-weight: bold;
      font-size: 1.1rem;
    }
  }

</style>
